package com.axonactive.yolo.monitor;

import com.axonactive.yolo.exception.SubcribedFlightNotFoundException;

/**
 * I use observer pattern and custom it to apply to the monitor function
 * The observerable object will get registers and detect the change 
 * @author pqtrung
 *
 */
public interface Observerable {
	
	public void register(Observer observer);
	public void unRegister(Observer observer);
	public boolean detect() throws SubcribedFlightNotFoundException;
}
